<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@next"></script>
</head>
<body>
    <div id="list-rendering">
        <ol>
            <li v-for='todo in todos'>
                {{todo.text}}
            </li>
        </ol>
    </div>

    <script>
        const ListRendering={
            data() {
                return {
                    todos:[
                        {text:'learn javascript'},
                        {text:'learn vue'},
                        {text:'build something awesome'}
                    ]
                }
            },
        }

        const app = Vue.createApp(ListRendering)
        app.mount('#list-rendering')
    </script>
</body>
</html>